﻿

using System;
using System.ServiceModel;
using System.Runtime.Serialization;

using WCFModel;
using WCFContract;

namespace WCFService
{

    public class TestService : ITestService
    {

        public void Add(double x, double y)
        {
            var resule = x + y;
            var callBack = OperationContext.Current.GetCallbackChannel<ITetsCalback>();
            callBack.Write(x,y,resule);
        }
    }


}
